package com.test.jdbc;

import com.test.readData.readData;
import org.apache.commons.dbutils.QueryRunner;
import org.apache.commons.dbutils.handlers.ArrayHandler;
import org.apache.commons.dbutils.handlers.ArrayListHandler;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.sql.SQLException;
import java.util.*;

public class test {
    public static void main(String[] args) throws SQLException, IOException {
        QueryRunner queryRunner = new QueryRunner(JDBCUtils2.getDataSource());
        queryRunner.update("create table djd1_data(num int primary key auto_increment," +
                "x1 double ,x2 double ,x3 double ,x4 double ,x5 double ," +
                " x6 double ,x7 double ,x8 double ,x9 double ,x10 double ,x11 double ," +
                "x12 double ,x13 double ,x14 double ,x15 double ,x16 double ,y double);");
    }
}
